const mongoose = require('mongoose')
const Schema = mongoose.Schema

// 实例化模板
const PrinterSchema = new Schema({
  printerUuid: {
    type: String,
    require: true
  },
  bid: {
    type: String
  },
  deviceid: {
    type: String
  },
  printerName: {
    type: String
  },
  brand: {
    type: String
  },
  model: {
    type: String
  },
  status: {
    type: String
  }
})

module.exports = mongoose.model('print', PrinterSchema)
